package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Order {
    private Integer orderId;        // 订单ID
    private String userId;         // 购买人ID
    private Integer bookId;         // 书本ID
    private String bookName;        // 书本名称
    private Integer quantity;       // 购买数量
    private LocalDateTime orderDate;  // 购买时间
}
